package com.acme.task4;

public class Task4Arrays {

	public static void main(String[] args) {
		int tree=0;
		int seven=0;
		int nine=0;

		int array[] = new int[10];
		array[0] = 3;
		array[1] = 7;
		array[2] = 3;
		array[3] = 3;
		array[4] = 7;
		array[5] = 3;
		array[6] = 3;
		array[7] = 9;
		array[8] = 3;
		array[9] = 3;

		for (int i : array) {
			if (i == 3)	tree++;
			if (i == 7)	seven++;
			if (i == 9)	nine++;
				}

		// TODO: print the following
		System.out.println("Number of 3: "+tree);
		System.out.println("Number of 7: "+seven);
		System.out.println("Number of 9: "+nine);
	}
}

